package com.example.leavemanagement.utils;

import org.springframework.util.DigestUtils;

public class getEncryptPassword {
    public static String getEncryptPassword(String userPassword){
        //TODO
        // 盐值，混淆密码
        final String SALT = "redeemer150";
        return DigestUtils.md5DigestAsHex((SALT + userPassword).getBytes());
    }
}
